
<fieldset id="info_add"><legend>基本信息</legend>
<form id="form_add"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="80%"><input type="text" name="code" id="code" size="16" value=""> <input type="checkbox" name="code_t"
			id="code_t" value="" checked disabled> 自动分配</td>
	</tr>
	<tr>
		<td align="right">简称：</td>
		<td><input type="text" name="name" id="name" size="16" value=""> [必填]</td>
	</tr>
	<tr>
		<td align="right">全称：</td>
		<td><input type="text" name="fullname" size="45" value=""></td>
	</tr>
	<tr>
		<td align="right">洲/国家：</td>
		<td><select name='continent' id='continent'>
			{[html_options options=$continent_option selected=-]}
		</select> <select name='country' id='country'>
		</select></td>
	</tr>
	<tr>
		<td align="right">网站：</td>
		<td><input type="text" name="url" size="45" value="http://www."></td>
	</tr>
	<tr>
		<td align="right">地址：</td>
		<td><textarea rows="3" name="address" id="address"></textarea></td>
	</tr>
	<tr>
		<td align="right">简介：</td>
		<td><textarea rows="5" name="jj" id="jj">{[$email.content]}</textarea></td>
	</tr>
</table>
</form>
</fieldset>

<fieldset id="contact1">
<legend>主联系人 1</legend>
<form id="form1">
<table>
	<tr>
		<td align="right">姓名：</td>
		<td><input type="text" name="linkman" id="linkman" size="16" value="{[$email.contact]}"></td>
		<td align="right">职位：</td>
		<td><input type="text" name="job" id="job" size="16" value=""></td>			
	</tr>
	<tr>
		<td width="20%" align="right">电话：</td>
		<td width="30%"><input type="text" name="tel" id="tel" size="16" value="{[$email.tel]}"></td>
		<td width="20%" align="right">传真：</td>
		<td width="30%"><input type="text" name="fax" id="fax" size="16" value=""></td>	
	</tr>
	<tr>
		<td align="right">手机：</td>
		<td><input type="text" name="mobile" id="mobile" size="16" value=""></td>
		<td align="right"></td>
		<td></td>
	</tr>
	<tr>
		<td align="right">电邮：</td>
		<td colspan="3"><input type="text" name="email" id="email" size="40" value=""></td>
	</tr>
	<tr>
		<td align="right">地址：</td>
		<td colspan="3"><input type="text" name="address" id="address" size="40" value=""></td>
	</tr>
	<tr>
		<td align="right">QQ：</td>
		<td><input type="text" name="qq" id="qq" size="16" value=""></td>
		<td align="right">skype：</td>
		<td><input type="text" name="skype" id="skype" size="16" value=""></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><input type="text" name="content" size="40" value=""></td>
	</tr>
	<tr style="display:none">
		<td align="right"></td>
		<td colspan="3" id="action1"></td>
	</tr>
</table>
</form>
</fieldset>

<div id="contact_new" style="margin-top:8px;">
<a href="javascript:void(0)" onclick="Contact.add()">+联系人</a>
</div>

<script type="text/javascript" src="js/contact.js?r={[$smarty.now]}"></script>
<script type="text/javascript" src="js/contact/customer/add.js?r={[$smarty.now]}"></script>